package com.goods.business.mapper;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;
import java.util.Map;

@Repository
public interface ProductMapper extends BaseMapper<Product> {

    List<ProductVO> findProductList(@Param("map") Map map);

    List<ProductStockVO> findProductStockVO(@Param("map") Map map);
}
